﻿using System;
using System.Collections.Generic;
namespace 从数组中找到最小的数字 {
    class Program {
        static void Main (string[] args) {

            Solution s = new Solution ();
            Console.WriteLine (s.GetMinNumber (new int[] { -64, 155, -32, -24, -96, -12, -82 }));;
        }
    }
    class Solution {
        public int GetMinNumber (int[] array) {
            int min =array[0];
                for (int j =1; j < array.Length; j++) {
                    if (array[j]<min){
                        min=array[j];
                    }
                }

            return min;
        }
    }
}